<template>
  <div class="box">
    <div class="youhui" >
      <div class="sbox">
        <div class="left">
          <p>
            <span></span>
            <span>8.8</span>
            <span>折</span>
          </p>
          <p>满39元使用</p>
        </div>
        <div class="right">
          <p>8.8折水果优惠券(周五专享)</p>
          <p>App/百果园+小程序可用</p>
          <p>2022-02-25至2022-02-25</p>
          <p>全场通用(部分特价商品不可使用);</p>
        </div>
      </div>

      <button>使用</button>
    </div>
  </div>
</template>

<script>

export default {
  
};
</script>

<style scoped>
.box {
  background: rgb(220, 220, 220);
  width: 100%;
  min-height: 5rem;
  padding-top: 0.05rem;
}
.youhui {
  height: 1.4rem;
  background: white;
  border-radius: 0.1rem;
  margin: 0.08rem 0.1rem;
}
.sbox {
  width: 94.8%;
  height: 1rem;
  position: relative;
  border-bottom: 1px dashed rgba(128, 128, 128, 0.219);
}
.left {
  width: 1rem;
  height: 0.8rem;
  color: rgb(61, 170, 66);
  text-align: center;
  position: absolute;
  left: 0.1rem;
  top: 0.17rem;
}
.left p:nth-child(1) span:nth-child(2) {
  font-size: 0.38rem;
  font-weight: 700;
}
.left p:nth-child(1) span {
  font-size: 0.16rem;
}
.right {
  font-size: 0.12rem;
  position: absolute;
  left: 1.2rem;
  top: 0.1rem;
}
.right p:nth-child(1) {
  font-size: 0.14rem;
  font-weight: 700;
}
.right p:nth-child(2) {
  font-size: 0.12rem;
  border: 1px solid rgb(61, 170, 66);
  color: rgb(61, 170, 66);
  width: 1.3rem;
  margin: 0.05rem 0;
}
.right p:nth-child(4) {
  color: gray;
}
button {
  width: 0.6rem;
  border-radius: 0.2rem;
  outline: none;
  text-align: center;
  color: white;
  margin: 0.06rem 0 0 2.7rem;
  background: rgb(61, 170, 66);
}
</style>